Optimal. Leaf size=24 \[ \frac{4}{9 \sec ^{\frac{3}{2}}(x)}+\frac{2 x \sin (x)}{3 \sqrt{\sec (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0814213, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {4187, 4189} \[ \frac{4}{9 \sec ^{\frac{3}{2}}(x)}+\frac{2 x \sin (x)}{3 \sqrt{\sec (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4187
Rule 4189
Rubi steps
\begin{align*} \int \left (\frac{x}{\sec ^{\frac{3}{2}}(x)}-\frac{1}{3} x \sqrt{\sec (x)}\right ) \, dx &=-\left (\frac{1}{3} \int x \sqrt{\sec (x)} \, dx\right )+\int \frac{x}{\sec ^{\frac{3}{2}}(x)} \, dx\\ &=\frac{4}{9 \sec ^{\frac{3}{2}}(x)}+\frac{2 x \sin (x)}{3 \sqrt{\sec (x)}}+\frac{1}{3} \int x \sqrt{\sec (x)} \, dx-\frac{1}{3} \left (\sqrt{\cos (x)} \sqrt{\sec (x)}\right ) \int \frac{x}{\sqrt{\cos (x)}} \, dx\\ &=\frac{4}{9 \sec ^{\frac{3}{2}}(x)}+\frac{2 x \sin (x)}{3 \sqrt{\sec (x)}}\\ \end{align*}
Mathematica [A] time = 0.0904513, size = 17, normalized size = 0.71 \[ \frac{2 (3 x \tan (x)+2)}{9 \sec ^{\frac{3}{2}}(x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.166, size = 0, normalized size = 0. \begin{align*} \int{x \left ( \sec \left ( x \right ) \right ) ^{-{\frac{3}{2}}}}-{\frac{x}{3}\sqrt{\sec \left ( x \right ) }}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{1}{3} \, x \sqrt{\sec \left (x\right )} + \frac{x}{\sec \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \frac{\int - \frac{3 x}{\sec ^{\frac{3}{2}}{\left (x \right )}}\, dx + \int x \sqrt{\sec{\left (x \right )}}\, dx}{3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{1}{3} \, x \sqrt{\sec \left (x\right )} + \frac{x}{\sec \left (x\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]